Conversation
* feat: EndStreamReason::CursorOutOfRange + FileNotIndexed Splits the previously-conflated stream-terminator failure mode. Both "cursor past EOF" and "URI not in index" emitted `reason: error, error: "cursor_out_of_range"` — clients couldn't distinguish "user gave bad coordinates" from "daemon has nothing for this path." Now: - `CursorOutOfRange` — indexed file, cursor past EOF. Error string reports line count. - `FileNotIndexed` — URI unknown to the daemon. Error string names the URI so callers know what to upsert. - `Error` remains as the catch-all. Clients should branch on specific reasons first. Happy-path reasons (BudgetReached, Exhausted) unchanged. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: gitignore .claude/ harness state --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…roto relationships was field 2 (upstream: 4), kind was field 4 (upstream: 5), display_name was field 5 (upstream: 6). The mismatch caused a wire-type decode error (LengthDelimited vs Varint) when importing any index produced by a spec-compliant SCIP emitter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SymbolInformationfield numbers with upstream SCIP proto —relationships(2→4),kind(4→5),display_name(5→6). The mismatch caused a protobuf wire-type decode error (LengthDelimitedwhereVarintexpected) on any index produced by a spec-compliant SCIP emitter.EndStreamReason::CursorOutOfRange+FileNotIndexedvariants (feat: EndStreamReason::CursorOutOfRange + FileNotIndexed #20)Test plan
cargo build -p lip-clicompiles cleanlylip index→lip export --to-scip→lip import --from-scipsucceedslip import --push-to-daemonstreams deltas to a running daemon without error🤖 Generated with Claude Code